/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package am.aua.renju.bussinesslayer.exception;

/**
 *
 * @author Ara Yeritsian
 */
public class EmailAlreadyRegistredException extends Exception {

    private String errorCode;

    public EmailAlreadyRegistredException() {
    }

    public EmailAlreadyRegistredException(String errorCode) {
        this.errorCode = errorCode;
    }

    public EmailAlreadyRegistredException(String errorCode, String message) {
        super(message);
        this.errorCode = errorCode;
    }
}
